import  request from 'axios'
// 查询最新商品
export const goodsFourListApi = (page,size) => {
    return request({
        url: "http://47.102.218.109:8082//tb_goods_four/findByPage/"+ page + '/' + size,
        method: 'get'
    })
}
//  删除
export const goodsFourDelectApi = (row) => {
    return request({
        url: "http://47.102.218.109:8082//tb_goods_four/deleteByIds",
        method: 'post',
        data:row
    })
}
//  添加
export const goodsFourAddApi = (row) => {
    return request({
        url: "http://47.102.218.109:8082//tb_goods_four/addgoodsfour",
        method: 'post',
        data:row
    })
}
//  修改
export const goodsFourChangeApi = (row) => {
    return request({
        url: "http://47.102.218.109:8082//tb_goods_four/updategoodsfour",
        method: 'post',
        data:row
    })
}
